package com.zc.blog.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zc.blog.mapper.ContactMapper;
import com.zc.blog.model.Contact;
import com.zc.blog.service.IContactService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用户Service实现类
 */
@Service("ContactService")
public class IContactServiceImpl extends ServiceImpl<ContactMapper, Contact> implements IContactService {

    @Autowired
    private ContactMapper contactMapper;


    @Override
    public Contact findById(Integer id) {
        return contactMapper.findById(id);
    }
}
